<!--
 * @Author: LiuYan
 * @Date: 2022-10-21 19:57:59
 * @LastEditors: LiuYan
 * @LastEditTime: 2022-11-03 11:41:04
 * @Descrip
-->
<template>
  <el-config-provider :locale="locale">
    <router-view></router-view>
  </el-config-provider>
</template>
<script setup>
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import { api } from "./api/index";
let locale = $ref(null);
locale = zhCn;
api().then((res) => {
  console.log(res);
});
</script>
